package com.gl.emms.whale.ui;

import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
import android.widget.Button;

import com.gl.emms.whale.R;
import com.gl.emms.whale.app.WhaleMonitorActivity;

public class ChangePasswordActivity extends WhaleMonitorActivity implements
OnClickListener{
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);// 去掉标题栏
		setContentView(R.layout.activity_changepassword);

		Button titleBackBtn = (Button)findViewById(R.id.TitleBackBtn);  
        titleBackBtn.setOnClickListener(new OnClickListener() {  
            public void onClick(View v) {  
                KeyEvent newEvent = new KeyEvent(KeyEvent.ACTION_DOWN,  
                        KeyEvent.KEYCODE_BACK);
                finish();
                //mActivity.onKeyDown(KeyEvent.KEYCODE_BACK, newEvent);  
            }  
        });
	}
	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		
	}

}